import { requestClient } from '#/api/request'
/**
 * 获取管理员列表
 */
export async function getColorSeriesList(params?: any) {
  return requestClient.get('/admin/ColorSeries/index', params)
}
/**
 * 获取顶级
 */
export async function getColorgetList(params?: any) {
  return requestClient.get('/admin/ColorSeries/getList', params)
}

/**
 * 新增
 */
export async function colorgetAdd(params?: any) {
  return requestClient.post('/admin/ColorSeries/add', params, { responseReturn: 'raw' })
}

/**
 * 获取详细
 */
export async function getColorgetInfo(params?: any) {
  return requestClient.get('/admin/ColorSeries/edit', params)
}

/**
 * 获取详细
 */
export async function colorgetUpdata(params?: any) {
  return requestClient.post('/admin/ColorSeries/edit', params,{ responseReturn: 'raw' })
}

/**
 * 获取详细
 */
export async function colorgetDel(params?: any) {
  return requestClient.delete('/admin/ColorSeries/del', params,{ responseReturn: 'raw' })
}

